package cn.onlineclass.entity;
import java.util.Date;


public class OUnit {

  private long id;
  private String name;
  private String description;
  private long level;
  private boolean inuse;
  private Date createtime;
  private Date modifytime;
  private long majorid;


  public OUnit() {
  }

  public OUnit(String name, String description, long level, boolean inuse, Date createtime, Date modifytime, long majorid) {
    this.name = name;
    this.description = description;
    this.level = level;
    this.inuse = inuse;
    this.createtime = createtime;
    this.modifytime = modifytime;
    this.majorid = majorid;
  }

  public OUnit(long id, String name, String description, long level, boolean inuse, Date createtime, Date modifytime, long majorid) {
    this.id = id;
    this.name = name;
    this.description = description;
    this.level = level;
    this.inuse = inuse;
    this.createtime = createtime;
    this.modifytime = modifytime;
    this.majorid = majorid;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }


  public long getLevel() {
    return level;
  }

  public void setLevel(long level) {
    this.level = level;
  }


  public boolean getInuse() {
    return inuse;
  }

  public void setInuse(boolean inuse) {
    this.inuse = inuse;
  }


  public Date getCreatetime() {
    return createtime;
  }

  public void setCreatetime(Date createtime) {
    this.createtime = createtime;
  }


  public Date getModifytime() {
    return modifytime;
  }

  public void setModifytime(Date modifytime) {
    this.modifytime = modifytime;
  }


  public long getMajorid() {
    return majorid;
  }

  public void setMajorid(long majorid) {
    this.majorid = majorid;
  }

}
